//
//  EventManager.h
//  FootPrint
//
//  Created by alex tao on 4/2/13.
//  Copyright (c) 2013 alex tao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "EventListParser.h"

@interface EventManager : NSObject <EventListDelegate> {
    
    NSMutableArray *                            _eventList;
    EventListParser *                           _parser;
    
}

@property (nonatomic) long long     beginDate;
@property (nonatomic) long long     enddate;

+ (EventManager*) sharedInstance;

- (void) updateLastList;
- (void) updateAllList;
- (void) updateListOfBegin:(long long)beginDate endDate:(long long)endDate;

- (void) mergeList:(PBArray*)newList beginDate:(long long)bgDate endDate:(long long)edDate;

- (NSArray*) eventListOfBegin:(long long)beginDate endDate:(long long)endDate;

- (void) removeAll;

@end
